$OpenBSD: patch-src_portable_endian_h,v 1.1.1.1 2016/09/21 01:12:57 lteo Exp $

Avoid #define redefinitions.

--- src/portable_endian.h.orig	Mon Sep 19 14:18:25 2016
+++ src/portable_endian.h	Mon Sep 19 14:20:10 2016
@@ -12,7 +12,7 @@
 
 // GLIBC / Linux with endian(3) support, which was added in glibc 2.9.
 // Intended to support CentOS 6 and newer.
-#if defined(__linux__) && \
+#if defined(__OpenBSD__) || defined(__linux__) &&	\
     ((__GLIBC__ > 3) || \
      (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 9))
 
